package com.gimi.cloud.jimi.manage.consumer.feign;

import com.gimi.cloud.jimi.common.utils.reqhead.Response;
import com.gimi.cloud.jimi.dto.app.moreInfo.MoreInfoDTO;
import com.gimi.cloud.jimi.dto.userInfo.RdJxlDTO;
import com.gimi.cloud.jimi.dto.userInfo.RdMiguanDTO;
import com.gimi.cloud.jimi.dto.userInfo.RdTdDTO;
import feign.Headers;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

@FeignClient(name = "jimi-app-service")
public interface MoreInfoFeignService {

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "moreInfo/jxlinfo", method = RequestMethod.POST)
    Response jxlInfo(RdJxlDTO jxlDTO);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "moreInfo/tdInfo", method = RequestMethod.POST)
    Response tdInfo(RdTdDTO param);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "moreInfo/miguanInfo", method = RequestMethod.POST)
    Response miguanInfo(RdMiguanDTO param);

    @Headers({"Content-Type: application/json","Accept: application/json"})
    @RequestMapping(value = "moreInfo/moreinfo", method = RequestMethod.POST)
    Response moreinfo(MoreInfoDTO param);

}
